package com.test.designPattern.behaviorType.commandPattern;

import lombok.extern.slf4j.Slf4j;

/**
 * Receiver: 接收者
 *  厨师
 * @author wangjie
 * @version V1.0
 * @date 2020/4/8
 */
@Slf4j
public class Cook {

    public void scrambledEggWithTomato() {

        log.info("西红柿炒鸡蛋");
    }
    public void scrambledEggWithChineseChives() {
        log.info("韭菜炒鸡蛋");
    }

}
